<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
		"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui" >
	
<h:head>
		<link type="text/css" rel="stylesheet" href="../../resources/css/style.css" />
	<title><ui:insert name="title"/>SYSBEAUTY</title>
	<ui:insert name="headIncludes"/>
</h:head>
	
	<h:body>
		<h:form prependId="false">
			<div style="width: 100%; min-width:1000px; height: 48px;
				display: inline-block;">
				<div style="margin: 0 auto;">
					<div style="float: left; margin-top: 15px;">
						SYSBEAUTY
					</div>
				</div>
			</div>
			<div style="width:100%;text-align:center; min-width:1000px;
				background-color:#BCA8B3;
				border-radius: 3px;
 				border-bottom:1px solid #564B47;
 				border-top:1px solid #564B47; height: 35px;
				display: inline-block;">
				<div style="min-width:1000px;">				
					<p:menubar style="background: none !important;
						border: none !important;
						width: 100% !important;
						height: 26px !important;
						display: inline-block !important;"> 
						<p:submenu label="Cadastros">
			                <p:menuitem value="País" url="/views/pais/listPais.xhtml" />  
							<p:menuitem value="Estado" url="/views/estado/listEstado.xhtml" />  
							<p:menuitem value="Cidade" url="/views/cidade/listCidade.xhtml" />
							<p:separator/>
							<p:menuitem value="Perfil" url="/views/perfil/listPerfil.xhtml" />
							<p:menuitem value="Grupo" url="/views/grupo/listGrupo.xhtml" />
							<p:menuitem value="Cargo" url="/views/cargo/listCargo.xhtml" />
							<p:separator/>
							<p:menuitem value="Forma de pagamento" url="/views/formaPagamento/listFormaPagamento.xhtml" />								
							<p:menuitem value="Condição de pagamento" url="/views/condicaoPagamento/listCondicaoPagamento.xhtml" />
							<p:separator/>
							<p:menuitem value="Usuário" url="/views/usuario/listUsuario.xhtml" />
							<p:menuitem value="Cliente" url="/views/cliente/listCliente.xhtml" />
							<p:menuitem value="Funcionário" url="/views/funcionario/listFuncionario.xhtml" />
							<p:menuitem value="Fornecedor" url="/views/fornecedor/listFornecedor.xhtml" />
							<p:separator/>
							<p:menuitem value="Produto" url="/views/produto/listProduto.xhtml" />
							<p:menuitem value="Serviço" url="/views/servico/listServico.xhtml" /> 
  
		        		</p:submenu>
		        		<p:submenu label="Agendamento">  
				           <p:menuitem value="Agenda" url="/views/agendamento/agendamento.xhtml" />  
		        		</p:submenu>
		        		<p:submenu label="Operações">  
				           <p:menuitem value="Compra" url="/views/compra/listCompra.xhtml" />
				           <p:menuitem value="Venda" url="/views/venda/listVenda.xhtml" />   
				           <p:menuitem value="Ordem de serviço" url="/views/ordemservico/listOrdemServico.xhtml" />  
		        		</p:submenu>
		        		<p:submenu label="Financeiro">  
				           <p:menuitem value="Contas a pagar" url="/views/contapagar/listContaPagar.xhtml" />
				           <p:menuitem value="Contas a receber" url="/views/contareceber/listContaReceber.xhtml" />  
		        		</p:submenu>
		        	</p:menubar>
				</div>	  
			</div>  
		</h:form>    
		<h:form prependId="false" id="formPrincipal"> 
<!-- 			<div style="background: url('../../resources/img/Untitled-1.png') repeat scroll 0 0 transparent; height:600px;">  -->
			<div style="min-width:1000px; height: auto; min-height: 600px; margin-top:-15px;">			
				<div style="width:95%;margin:0 auto; padding-top:10px;">
					<p:toolbar style="margin-top: 15px;position:relative;" id="toolBar">
						 <p:toolbarGroup align="left" style="height: 26px; margin-left: 10px; margin-top: 6px;">
							<ui:insert name="pageName"/>
						</p:toolbarGroup>
						<p:toolbarGroup align="right" style="float:right;margin-top: 3px;" >
							<ui:insert name="buttons"/>
						</p:toolbarGroup>						
					</p:toolbar>					
				</div>								
				<div style="border-radius:10px; width:95%; background-color:white; margin: 15px auto 0;">
					<ui:insert name="content" />				
				</div>
			</div>
		</h:form>

		<ui:insert name="popups"/>
	</h:body>	
</html>